package com.iplant.aps.service.po.bms;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.util.Calendar;

public class BMSEmployee implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    public int ID;

    public String Name = "";

    public String LoginName = "";

    public String Password = "";

    public int DepartmentID;

    public String Department = "";

    public int Active = 1;

    public int Grad = 0;

    public int Manager;

    public String Operator = "";

    public String Phone = "";

    public String Email = "";

    public Calendar CreateDate = Calendar.getInstance();

    public int Position;

    public String WeiXin = "";

    public long PhoneMAC;

    public int Online;

    public int OnShift;

    public Calendar OnLineTime = Calendar.getInstance();

    public Calendar DepartureDate = Calendar.getInstance();

    public Calendar LastOnLineTime = Calendar.getInstance();

    public int CompanyID;

    public String LoginID;

    public int DutyID;

    public int Type = 0;

    /**
     * 直接上级
     */
    public int SuperiorID = 0;

    @JsonProperty("ID")
    public int getID() {
        return ID;
    }

    public void setID(int iD) {
        ID = iD;
    }

    @JsonProperty("Name")
    public String getName() {
        return Name;
    }

    @JsonProperty("SuperiorID")
    public int getSuperiorID() {
        return SuperiorID;
    }

    public void setSuperiorID(int superiorID) {
        SuperiorID = superiorID;
    }

    public void setName(String name) {
        Name = name;
    }

    @JsonProperty("LoginName")
    public String getLoginName() {
        return LoginName;
    }

    public void setLoginName(String loginName) {
        LoginName = loginName;
    }

    @JsonProperty("Password")
    public String getPassword() {
        return Password;
    }

    public void setPassword(String password) {
        Password = password;
    }

    @JsonProperty("DepartmentID")
    public int getDepartmentID() {
        return DepartmentID;
    }

    public void setDepartmentID(int departmentID) {
        DepartmentID = departmentID;
    }

    @JsonProperty("Department")
    public String getDepartment() {
        return Department;
    }

    public void setDepartment(String department) {
        Department = department;
    }

    @JsonProperty("Active")
    public int getActive() {
        return Active;
    }

    public void setActive(int active) {
        Active = active;
    }

    @JsonProperty("Grad")
    public int getGrad() {
        return Grad;
    }

    public void setGrad(int grad) {
        Grad = grad;
    }

    @JsonProperty("Manager")
    public int getManager() {
        return Manager;
    }

    public void setManager(int manager) {
        Manager = manager;
    }

    @JsonProperty("Operator")
    public String getOperator() {
        return Operator;
    }

    public void setOperator(String operator) {
        Operator = operator;
    }

    @JsonProperty("Phone")
    public String getPhone() {
        return Phone;
    }

    public void setPhone(String phone) {
        Phone = phone;
    }

    @JsonProperty("Email")
    public String getEmail() {
        return Email;
    }

    public void setEmail(String email) {
        Email = email;
    }

    @JsonProperty("CreateDate")
    public Calendar getCreateDate() {
        return CreateDate;
    }

    public void setCreateDate(Calendar createDate) {
        CreateDate = createDate;
    }

    @JsonProperty("Position")
    public int getPosition() {
        return Position;
    }

    public void setPosition(int position) {
        Position = position;
    }

    @JsonProperty("WeiXin")
    public String getWeiXin() {
        return WeiXin;
    }

    public void setWeiXin(String weiXin) {
        WeiXin = weiXin;
    }

    @JsonProperty("PhoneMAC")
    public long getPhoneMAC() {
        return PhoneMAC;
    }

    public void setPhoneMAC(long phoneMAC) {
        PhoneMAC = phoneMAC;
    }

    @JsonProperty("Online")
    public int getOnline() {
        return Online;
    }

    public void setOnline(int online) {
        Online = online;
    }

    @JsonProperty("OnShift")
    public int getOnShift() {
        return OnShift;
    }

    public void setOnShift(int onShift) {
        OnShift = onShift;
    }

    @JsonProperty("OnLineTime")
    public Calendar getOnLineTime() {
        return OnLineTime;
    }

    public void setOnLineTime(Calendar onLineTime) {
        OnLineTime = onLineTime;
    }

    @JsonProperty("DepartureDate")
    public Calendar getDepartureDate() {
        return DepartureDate;
    }

    public void setDepartureDate(Calendar departureDate) {
        DepartureDate = departureDate;
    }

    @JsonProperty("LastOnLineTime")
    public Calendar getLastOnLineTime() {
        return LastOnLineTime;
    }

    public void setLastOnLineTime(Calendar lastOnLineTime) {
        LastOnLineTime = lastOnLineTime;
    }

    @JsonProperty("CompanyID")
    public int getCompanyID() {
        return CompanyID;
    }

    public void setCompanyID(int companyID) {
        CompanyID = companyID;
    }

    @JsonProperty("LoginID")
    public String getLoginID() {
        return LoginID;
    }

    public void setLoginID(String loginID) {
        LoginID = loginID;
    }

    @JsonProperty("DutyID")
    public int getDutyID() {
        return DutyID;
    }

    public void setDutyID(int dutyID) {
        DutyID = dutyID;
    }

    @JsonProperty("Type")
    public int getType() {
        return Type;
    }

    public void setType(int type) {
        Type = type;
    }

    public BMSEmployee() {
        this.ID = -1;
        this.CreateDate.set(2000, 1, 1);
        this.OnLineTime.set(2000, 1, 1);
        this.DepartureDate.set(2000, 1, 1);
        this.LastOnLineTime.set(2000, 1, 1);
    }
}
